package boni.si;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;

public class Pomoc extends Activity{
	
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.pomoc);
	}
	
//------------------------- MENi ----------------------------
    
    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        MenuInflater inflater = getMenuInflater();
        inflater.inflate(R.layout.menu, menu);
        return true;
    }
    
    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
        switch (item.getItemId()) {
            case R.id.menuRestavracija:
        	{
        		Intent i = new Intent(this, Restavracije.class);
        		startActivity(i);
        		break;
        	}
            case R.id.menuZemljevid:
            {
            	Intent i = new Intent(this, Zemljevid.class);
        		startActivity(i);
            	break;
            }
            case R.id.menuNastavitve: 
            {
            	Intent i = new Intent(this, Nastavitve.class);
        		startActivity(i);
            	break;
            }
            case R.id.menuOprogramu: 
            {
            	Intent i = new Intent(this, Pomoc.class);
        		startActivity(i);
            	break;
            }
            case R.id.menuVIP: 
            {
            	Intent i = new Intent(this, Vip.class);
        		startActivity(i);
            	break;
            }
        }
        return true;
    }
}
